{include file="public/header" /}

<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <form class="form-horizontal" method="post">
            <div class="col-sm-12">
                <div class="tabs-container">
                    <div class="tab-content">
                        <div class="ibox-content">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">类型：</label>
                                <div class="col-sm-9">
                                    <input name="realname" readonly type="text"  class="form-control" required="required" value="{present name='name'}{eq name='name.types' value='1'}职业认证{/eq}{/present}
                                        {present name='name'}{eq name='name.types' value='2'}经验认证{/eq}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">姓名：</label>
                                <div class="col-sm-9">
                                    <input name="realname" readonly type="text"  class="form-control" required="required" value="{present name='name'}{$name.realname}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">性别：</label>
                                <div class="col-sm-9">
                                    <input name="sex" readonly type="text"  class="form-control" required="required" value="{present name='name'}{$name.sex}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">职称/职业：</label>
                                <div class="col-sm-9">
                                    <input name="occupation" readonly type="text"  class="form-control" required="required" value="{present name='name'}{$name.occupation}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">身份证号：</label>
                                <div class="col-sm-9">
                                    <input name="idcard" readonly type="text"  class="form-control" required="required" value="{present name='name'}{$name.idcard}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">认证图A：</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                        <img src="{present name='name.img_a'}{if condition='$name.img_a'}{:_ossUrl($name.oss_idx)}{$name.img_a}{else /}__IMG__add_img.png{/if}{else /}__IMG__add_img.png{/present}" id="imageimg" style="max-width: 300px;max-height: 200px">
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">认证图B：</label>
                                <div class="col-sm-9">
                                    <div class="input-group">
                                        <img src="{present name='name.img_b'}{if condition='$name.img_b'}{:_ossUrl($name.oss_idx)}{$name.img_b}{else /}__IMG__add_img.png{/if}{else /}__IMG__add_img.png{/present}" id="imageimg" style="max-width: 300px;max-height: 200px">
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">状态：</label>
                                <div class="col-sm-9">
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" value="0" name="status" {present name="name"}{eq name="name.status" value="0"}checked{/eq}{/present}>审核
                                        </label>
                                        <label>
                                            <input type="radio" value="1" name="status" {present name="name"}{eq name="name.status" value="1"}checked{/eq}{else /}checked{/present}>通过
                                        </label>
                                        <label>
                                            <input type="radio" value="-1" name="status" {present name="name"}{eq name="name.status" value="-1"}checked{/eq}{/present}>驳回
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">驳回原因：</label>
                                <div class="col-sm-9">
                                    <input name="reason" type="text" placeholder="驳回时须填写" class="form-control" required="required" value="{present name='name'}{$name.reason}{/present}">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
    </div>
</div>
</form>
</div>
</div>

{include file="public/footer" /}
{load href="__PLUGINS__iCheck/icheck.min.js"}
{load href="__PLUGINS__iCheck/custom.css"}

<script type="text/javascript">
    $(document).ready(function(){
        $(".i-checks").iCheck({
            checkboxClass: "icheckbox_square-green",
            radioClass: "iradio_square-green",
        })
    })
</script>

{include file="public/bottom" /}
 
